package com.example.springmysqldemo.dao;

import com.example.springmysqldemo.entity.User;

import java.util.List;

public interface UserDao {
    List<User> findAllUsers();
    // 通过账号密码查询对应的对象
    User getUserInfo(String username,String password);
}
